import Mock from "mockjs"
// 引入模拟的banner和floor数据
import banner from '@/mock/banner'
import floor from '@/mock/floor'
import userAddress from '@/mock/userAddress'

// 使用Mock对象上的mock方法
Mock.mock("/api/banner/list", "get", () => {
    return {
        code: 200,
        message: "成功",
        data: banner
    }
})

Mock.mock("/api/floor/list", "get", () => {
    return {
        code: 200,
        message: "成功",
        data: floor
    }
})

Mock.mock("/api/userAddress/list", "get", () => {
    return {
        code: 200,
        message: "成功",
        data: userAddress
    }
})